/**
 * 登录相关
 */
export interface MLoginFormState {
  username: string;
  password: any;
}

/**
 * 查询项目配置
 */
export interface MGetInfoParams {
  id: number;
}

/**
 * 新建修改项目
 */
export interface MAddProjectFormState {
  id?: number | null;
  projectName: string;
  projectDesc?: string;
  createTime?: string;
  propertiesList?: MAddProjectChildFormState[];
  properties?: MAddProjectChildFormState[];
}
export interface MAddProjectChildFormState {
  id?: number | string;
  projectId: number;
  name: string;
  value: string;
  description?: string;
  createTime?: string;
}

/**
 * 查询项目列表
 */
export interface MAllProjectsParams {
  size: number;
  current: number;
}

/**
 * 删除项目
 */
export interface MDeleteProjectsParams {
  projectIds: string;
}


/**
 * 查询拓扑详情
 */
export interface MGetByIdParams {
  topologyId: number;
}

/**
 * 查询拓扑列表
 */
export interface MGetListParams {
  size: number;
  current: number;
  projectId: number;
}

/**
 * 删除拓扑
 */
export interface MDeleteTopologyParams {
  topologyIds: string;
}

/**
 * 新建修改拓扑
 */
export interface MAddTopologyFormState {
  id?: number | null;
  projectId?: number;
  name: string;
  type: string;
  description?: string;
  jsonContent: string;
}

/**
 * 保存拓扑
 */
export interface MAddTopologyConfigState {
  topologyId: number;
  jsonContent: string;
}
